package cn.bdqn.service.impl;

import cn.bdqn.dao.AnnouncementMapper;
import cn.bdqn.dao.QuestionMapper;
import cn.bdqn.pojo.Question;
import cn.bdqn.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author 正文
 * @date 2020/7/3 - 17:21
 */
@Service
public class QuestionServiceImpl implements QuestionService {
    @Autowired
    private QuestionMapper questionMapper;
    //添加问题反馈
    @Override
    public int add(Question question) {


        return questionMapper.add(question);
    }
}
